<template>
  <div class="noData">
        <img mode="widthFix" :src="imgSrc" alt="" srcset="">
        <p class="text">{{msg}}</p>
    </div>
</template>

<script>
export default {
    props:['msg','imgSrc']
}
</script>

<style lang="scss" scoped>
.noData{
    font-size: 28rpx;
    color: #aaa;
    padding-top: 50rpx;
    text-align: center;
    padding-bottom:100px;
    img{
        width: 160px;
        height: 160px;
        margin-top:50rpx;
    }
    .text{
        margin-top:50rpx;
    }
}
</style>